package com.wumao.mapper;

import com.wumao.pojo.Comment;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author Gaowumao
 * @Decripted
 * @Email none-j@qq.com
 * @create 2021-04-19 9:30
 */
public interface CommentMapper extends JpaRepository<Comment,Long> {

    List<Comment> queryByIdAndParentCommentNull(Long blogId, Sort sort);

}
